package com.training.java.core.inheritance;

public class Computer {

	String make;
	String model;
	int screenSize;

	Computer() {

	}

	public Computer(String make, String model, int screenSize) {
		this.make = make;
		this.model = model;
		this.screenSize = screenSize;

	}

	void On() {
		System.out.println(" The system is " + make + " and model is " + model
				+ "  it is turned on ");

	}

	void Off() {

		System.out.println(" The system is turned off");
	}

	public String getMake() {
		return make;
	}

	public void setMake(String make) {
		this.make = make;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public int getScreenSize() {
		return screenSize;
	}

	public void setScreenSize(int screenSize) {
		this.screenSize = screenSize;
	}

}
